﻿using Nancy.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NancyOauth2.Modules
{
    public class HelloModule:Nancy.NancyModule
    {
        public HelloModule()
        {
            //var user = this.Context.CurrentUser;
            this.RequiresAuthentication();
            Get["/"] = p =>
            {
                return "hello world" ;
            };

        }
    }
}